cp input/domain.d src/utils/domain.d
gcc -o src/utils/Easymesh src/utils/easymesh.c -std=c89 -lm -O3 -w
src/utils/Easymesh src/utils/domain.d +dxf +fig
mv src/utils/domain.[sen] src/data/
mv src/utils/domain.dxf output/
mv src/utils/domain.fig output/
rm src/utils/domain.d src/utils/Easymesh
echo "generate grid successfully!"
cd src/solvers
make poisson
./testpoisson
rm testpoisson
# mv matrix.txt ../../output
# mv x.txt ../../output
# mv b.txt ../../output
cd ..
python3 plot.py
cd ..
